#include <dolphin/socket.h>
SOHostEnt* SOGetHostByName( const char* name );
SOGetHostByName() returns information about the host named
name.
Note: SOGetHostByName() is not
reentrant and not thread-safe.
name |
A host name or a numeric address string in the dotted-decimal notation. |
A pointer to
SOHostEnt structure if the requested entry
was found. Otherwise NULL.